/**
 * Modifications to default styles
 */

body {
	font-family: "Trebuchet MS";
}

label, .button {
	cursor: pointer;
}

a, a:hover, a:visited, a:active {
	text-decoration: none;
	border-bottom: 1px dotted;
	color: #33F;
}

h1 {
	background: url("../images/css/mammoth_96.png") no-repeat;
	padding: 40px 0 10px 100px;
}

/**
 * Site wide styles
 */
div.error {
	border: 1px solid #A00;
	background: #f99;
	padding: 1em;
}

	.error h2 {
		background: url("../images/css/error.png") no-repeat;
		padding-top: 15px;
		padding-bottom: 15px;
		min-height: 20px;
		padding-left: 60px;
		margin: 0;
	}
	
	.error p {
		margin-top: 0;
	}

#title {
	background: url("../images/css/title.png") no-repeat;
	text-indent: -9999px;
	height: 93px;
	width: 237px;
}

p.tagline {
	color: #942;
	font-style: italic;
	font-size: larger;
	width: 12em;
}

div.authInfo {
	font-size: small;
	text-align: right;
	position: absolute;
	top: 1em;
	right: 1em;
	background: #eee;
	padding: 0.5em;
}

	.authInfo p {
		margin: 0;
	}
	
.database, .dbTable {
	background: #FFE;
	border: 2px solid;
	height: 21em;
	overflow-x: hidden;
	margin: 1em;
	padding: 1em;
	float: left;
	position: relative;
}

	div.deleteButton {
		position: absolute;
		top: 0.5em;
		right: 0.5em;
	}
	
		/*.deleteButton input {
			display: block;
			background: url("../images/css/bin.png") no-repeat;
			width: 16px;
			height: 16px;
			border: none;
			text-indent: 16px; /* FF */
			/*padding-left: 16px; /* IE7 */
			/*outline: none;
		}*/
	
	.database h2, .dbTable h2 {
		color: #620;
		margin: 0 0 0.5em;
	}

.database.new, .dbTable.new {
	float: none;
	height: auto;
	width: 15em;
}

	.database.new label, .dbTable.new label {
		font-size: larger;
		display: block;
		margin: auto;
		margin-bottom: 0.5em;
	}

/**
 * Page specific styles
 */

/*** Login page ***/
div.login {
	width: 25em;
	margin: auto;
	position: relative;
}

	.login #title {
		margin: auto;
		margin-top: 1em;
		padding-left: 3em;
		background-position: 3em;
	}
	
	.login img#logo {
		position: absolute;
		top: 0;
		left: -4em;
	}
	
	.login .tagline {
		margin: auto;
		margin-bottom: 2em;
		padding-left: 5em;
	}

	.login label {
		font-size: larger;
		display: block;
		text-align: right;
		width: 15em;
		margin: auto;
		margin-bottom: 0.5em;
	}
	
	.login label input {
		margin-left: 1em;
	}
	
	.login input.button {
		display: block;
		font-family: "Trebuchet MS";
		padding: .5em;
		font-size: large;
		margin: auto;
	}
	
	.login .error {
		width: 10em;
		position: absolute;
		right: -10em;
	}
	
/*** List databases page ***/
.database {
	width: 15em;
}

.database ul {
	list-style: none;
}

/*** List tables page ***/
label.delete {
	background:	url("../images/css/bin.png") no-repeat 0 0;
	text-indent: -9999px;
	overflow: hidden;
	display: block;
	float: left;
	height: 16px;
	width: 16px;
	margin: 0;
}

.dbTable select {
	width: 100%;
}